package com.wyh.service.serviceImpl.feemanagementserviceimpl;


import com.wyh.domain.dto.feemanagementdto.ConfigurationDTO;
import com.wyh.mapper.feemanagementmapper.ConfigrationMapper;
import com.wyh.service.feemanagementservice.ConfigurationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConfigurationServiceImpl implements ConfigurationService {

    @Autowired
    public ConfigrationMapper configurationMapper;
    @Override
    public void updateConfiguration(ConfigurationDTO configurationDTO) {
        configurationMapper.updateConfiguration(configurationDTO);
    }

    @Override
    public ConfigurationDTO selectConfiguration() {
        return configurationMapper.selectConfiguration();
    }

    @Override
    public Integer selectCollectionNotificationMethod() {
        return configurationMapper.selectCollectionNotificationMethod();
    }

}
